<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:body>
        <ui:composition template="/templates/template.xhtml">
            <ui:define name="content">
                <b><h3><h:outputLabel value="#{result.showHighScoreUser.name} sin Highscore!" rendered="#{user.findRole()}"/></h3></b>
                <b><h3><h:outputLabel value="Denne siden har du ikke tilgang til!" rendered="#{not user.findRole()}"/></h3></b>
                <br/>
                <h:form>
                <h:commandLink  action="../protected/userAdministration.xhtml" rendered="#{user.findRole()}">Tilbake</h:commandLink>
               </h:form>

                <br/><br/>
                <h:form>
                    <b><h:outputLabel style="font-size: 20px;" value="Pluss"/></b><br/>
                    <h:outputLabel value="Fors&oslash;k:  "/>#{result.tryPlus}<br/>
                    <h:outputLabel value="Poeng: " />#{result.plusScore}<br/>

                    <br/><br/>
                    <b><h:outputLabel style="font-size: 20px;" value="Minus"/></b><br/>
                    <h:outputText value="Fors&oslash;k: " />#{result.tryMinus}<br/>
                    <h:outputText value="Poeng: " />#{result.minusScore}<br/>

                    <br/><br/>
                    <b><h:outputLabel style="font-size: 20px;" value="Gange"/></b><br/>
                    <h:outputText value="Fors&oslash;k: " />#{result.tryMultiply}<br/>
                    <h:outputText value="Poeng: " />#{result.multiplyScore}<br/>

                    <br/><br/>
                    <b><h:outputLabel style="font-size: 20px;" value="Deling"/></b><br/>
                    <h:outputText value="Fors&oslash;k: "/> #{result.tryDivide}<br/>
                    <h:outputText value="Poeng: " /> #{result.divideScore}<br/><br/>
                </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>